<?php 
namespace app\common\model\banner;

use think\Model;

class Banner extends Model
{
	public function getUrlAttr($v)
	{
		return 'http://'.$_SERVER['HTTP_HOST'].'/'.$v;
	}
}